package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.UserUserHierarchyDAO;
import top.zywork.dos.UserUserHierarchyDO;
import top.zywork.dto.UserUserHierarchyDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.UserUserHierarchyService;

import javax.annotation.PostConstruct;

/**
 * UserUserHierarchyServiceImpl服务接口实现类<br/>
 *
 * 创建于2019-07-02<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Service(value = "userUserHierarchyService")
public class UserUserHierarchyServiceImpl extends AbstractBaseService implements UserUserHierarchyService {

    private UserUserHierarchyDAO userUserHierarchyDAO;

    @Autowired
    public void setUserUserHierarchyDAO(UserUserHierarchyDAO userUserHierarchyDAO) {
        super.setBaseDAO(userUserHierarchyDAO);
        this.userUserHierarchyDAO = userUserHierarchyDAO;
    }

    @PostConstruct
    public void init() {
        super.init(UserUserHierarchyDO.class, UserUserHierarchyDTO.class);
    }
}
